package com.kun.config;


import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 租户扫描的包
 *
 * @author kun.li
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(TenantScanRegistrar.class)
public @interface TenantScan {
    /**
     * 默认扫描的包路径
     */
    String[] value() default {"com.kun"};

    /**
     * 扫描的包路径
     *
     * @return
     */
    String[] scanBasePackages() default {};


}
